using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class MFriend : GeneratedMessageLite<MFriend, MFriend.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<MFriend, MFriend.Builder>
		{
			private bool resultIsReadOnly;
			private MFriend result;
			protected override MFriend.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override MFriend MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override MFriend DefaultInstanceForType
			{
				get
				{
					return MFriend.DefaultInstance;
				}
			}
			public string Username
			{
				get
				{
					return this.result.Username;
				}
				set
				{
					this.SetUsername(value);
				}
			}
			public string Nickname
			{
				get
				{
					return this.result.Nickname;
				}
				set
				{
					this.SetNickname(value);
				}
			}
			public string MobileMD5
			{
				get
				{
					return this.result.MobileMD5;
				}
				set
				{
					this.SetMobileMD5(value);
				}
			}
			public int Sex
			{
				get
				{
					return this.result.Sex;
				}
				set
				{
					this.SetSex(value);
				}
			}
			public string Province
			{
				get
				{
					return this.result.Province;
				}
				set
				{
					this.SetProvince(value);
				}
			}
			public string City
			{
				get
				{
					return this.result.City;
				}
				set
				{
					this.SetCity(value);
				}
			}
			public string Signature
			{
				get
				{
					return this.result.Signature;
				}
				set
				{
					this.SetSignature(value);
				}
			}
			public uint PersonalCard
			{
				get
				{
					return this.result.PersonalCard;
				}
				set
				{
					this.SetPersonalCard(value);
				}
			}
			public string Alias
			{
				get
				{
					return this.result.Alias;
				}
				set
				{
					this.SetAlias(value);
				}
			}
			public FBFriend FBInfo
			{
				get
				{
					return this.result.FBInfo;
				}
				set
				{
					this.SetFBInfo(value);
				}
			}
			public uint AlbumFlag
			{
				get
				{
					return this.result.AlbumFlag;
				}
				set
				{
					this.SetAlbumFlag(value);
				}
			}
			public uint AlbumStyle
			{
				get
				{
					return this.result.AlbumStyle;
				}
				set
				{
					this.SetAlbumStyle(value);
				}
			}
			public string AlbumBGImgID
			{
				get
				{
					return this.result.AlbumBGImgID;
				}
				set
				{
					this.SetAlbumBGImgID(value);
				}
			}
			public SnsUserInfo SnsUserInfo
			{
				get
				{
					return this.result.SnsUserInfo;
				}
				set
				{
					this.SetSnsUserInfo(value);
				}
			}
			public string Country
			{
				get
				{
					return this.result.Country;
				}
				set
				{
					this.SetCountry(value);
				}
			}
			public string MyBrandList
			{
				get
				{
					return this.result.MyBrandList;
				}
				set
				{
					this.SetMyBrandList(value);
				}
			}
			public CustomizedInfo CustomizedInfo
			{
				get
				{
					return this.result.CustomizedInfo;
				}
				set
				{
					this.SetCustomizedInfo(value);
				}
			}
			public Builder()
			{
				this.result = MFriend.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(MFriend cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private MFriend PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					MFriend other = this.result;
					this.result = new MFriend();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override MFriend.Builder Clear()
			{
				this.result = MFriend.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override MFriend.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new MFriend.Builder(this.result);
				}
				return new MFriend.Builder().MergeFrom(this.result);
			}
			public override MFriend BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override MFriend.Builder MergeFrom(IMessageLite other)
			{
				if (other is MFriend)
				{
					return this.MergeFrom((MFriend)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override MFriend.Builder MergeFrom(MFriend other)
			{
				return this;
			}
			public override MFriend.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override MFriend.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(MFriend._mFriendFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = MFriend._mFriendFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 64u)
					{
						if (num3 <= 26u)
						{
							if (num3 <= 10u)
							{
								if (num3 == 0u)
								{
									throw InvalidProtocolBufferException.InvalidTag();
								}
								if (num3 == 10u)
								{
									this.result.hasUsername = input.ReadString(ref this.result.username_);
									continue;
								}
							}
							else
							{
								if (num3 == 18u)
								{
									this.result.hasNickname = input.ReadString(ref this.result.nickname_);
									continue;
								}
								if (num3 == 26u)
								{
									this.result.hasMobileMD5 = input.ReadString(ref this.result.mobileMD5_);
									continue;
								}
							}
						}
						else
						{
							if (num3 <= 42u)
							{
								if (num3 == 32u)
								{
									this.result.hasSex = input.ReadInt32(ref this.result.sex_);
									continue;
								}
								if (num3 == 42u)
								{
									this.result.hasProvince = input.ReadString(ref this.result.province_);
									continue;
								}
							}
							else
							{
								if (num3 == 50u)
								{
									this.result.hasCity = input.ReadString(ref this.result.city_);
									continue;
								}
								if (num3 == 58u)
								{
									this.result.hasSignature = input.ReadString(ref this.result.signature_);
									continue;
								}
								if (num3 == 64u)
								{
									this.result.hasPersonalCard = input.ReadUInt32(ref this.result.personalCard_);
									continue;
								}
							}
						}
					}
					else
					{
						if (num3 <= 96u)
						{
							if (num3 <= 82u)
							{
								if (num3 == 74u)
								{
									this.result.hasAlias = input.ReadString(ref this.result.alias_);
									continue;
								}
								if (num3 == 82u)
								{
									FBFriend.Builder builder = FBFriend.CreateBuilder();
									if (this.result.hasFBInfo)
									{
										builder.MergeFrom(this.FBInfo);
									}
									input.ReadMessage(builder, extensionRegistry);
									this.FBInfo = builder.BuildPartial();
									continue;
								}
							}
							else
							{
								if (num3 == 88u)
								{
									this.result.hasAlbumFlag = input.ReadUInt32(ref this.result.albumFlag_);
									continue;
								}
								if (num3 == 96u)
								{
									this.result.hasAlbumStyle = input.ReadUInt32(ref this.result.albumStyle_);
									continue;
								}
							}
						}
						else
						{
							if (num3 <= 114u)
							{
								if (num3 == 106u)
								{
									this.result.hasAlbumBGImgID = input.ReadString(ref this.result.albumBGImgID_);
									continue;
								}
								if (num3 == 114u)
								{
									SnsUserInfo.Builder builder2 = SnsUserInfo.CreateBuilder();
									if (this.result.hasSnsUserInfo)
									{
										builder2.MergeFrom(this.SnsUserInfo);
									}
									input.ReadMessage(builder2, extensionRegistry);
									this.SnsUserInfo = builder2.BuildPartial();
									continue;
								}
							}
							else
							{
								if (num3 == 122u)
								{
									this.result.hasCountry = input.ReadString(ref this.result.country_);
									continue;
								}
								if (num3 == 130u)
								{
									this.result.hasMyBrandList = input.ReadString(ref this.result.myBrandList_);
									continue;
								}
								if (num3 == 138u)
								{
									CustomizedInfo.Builder builder3 = CustomizedInfo.CreateBuilder();
									if (this.result.hasCustomizedInfo)
									{
										builder3.MergeFrom(this.CustomizedInfo);
									}
									input.ReadMessage(builder3, extensionRegistry);
									this.CustomizedInfo = builder3.BuildPartial();
									continue;
								}
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public MFriend.Builder SetUsername(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasUsername = true;
				this.result.username_ = value;
				return this;
			}
			public MFriend.Builder ClearUsername()
			{
				this.PrepareBuilder();
				this.result.hasUsername = false;
				this.result.username_ = "";
				return this;
			}
			public MFriend.Builder SetNickname(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasNickname = true;
				this.result.nickname_ = value;
				return this;
			}
			public MFriend.Builder ClearNickname()
			{
				this.PrepareBuilder();
				this.result.hasNickname = false;
				this.result.nickname_ = "";
				return this;
			}
			public MFriend.Builder SetMobileMD5(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasMobileMD5 = true;
				this.result.mobileMD5_ = value;
				return this;
			}
			public MFriend.Builder ClearMobileMD5()
			{
				this.PrepareBuilder();
				this.result.hasMobileMD5 = false;
				this.result.mobileMD5_ = "";
				return this;
			}
			public MFriend.Builder SetSex(int value)
			{
				this.PrepareBuilder();
				this.result.hasSex = true;
				this.result.sex_ = value;
				return this;
			}
			public MFriend.Builder ClearSex()
			{
				this.PrepareBuilder();
				this.result.hasSex = false;
				this.result.sex_ = 0;
				return this;
			}
			public MFriend.Builder SetProvince(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasProvince = true;
				this.result.province_ = value;
				return this;
			}
			public MFriend.Builder ClearProvince()
			{
				this.PrepareBuilder();
				this.result.hasProvince = false;
				this.result.province_ = "";
				return this;
			}
			public MFriend.Builder SetCity(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasCity = true;
				this.result.city_ = value;
				return this;
			}
			public MFriend.Builder ClearCity()
			{
				this.PrepareBuilder();
				this.result.hasCity = false;
				this.result.city_ = "";
				return this;
			}
			public MFriend.Builder SetSignature(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasSignature = true;
				this.result.signature_ = value;
				return this;
			}
			public MFriend.Builder ClearSignature()
			{
				this.PrepareBuilder();
				this.result.hasSignature = false;
				this.result.signature_ = "";
				return this;
			}
			public MFriend.Builder SetPersonalCard(uint value)
			{
				this.PrepareBuilder();
				this.result.hasPersonalCard = true;
				this.result.personalCard_ = value;
				return this;
			}
			public MFriend.Builder ClearPersonalCard()
			{
				this.PrepareBuilder();
				this.result.hasPersonalCard = false;
				this.result.personalCard_ = 0u;
				return this;
			}
			public MFriend.Builder SetAlias(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasAlias = true;
				this.result.alias_ = value;
				return this;
			}
			public MFriend.Builder ClearAlias()
			{
				this.PrepareBuilder();
				this.result.hasAlias = false;
				this.result.alias_ = "";
				return this;
			}
			public MFriend.Builder SetFBInfo(FBFriend value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasFBInfo = true;
				this.result.fBInfo_ = value;
				return this;
			}
			public MFriend.Builder SetFBInfo(FBFriend.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasFBInfo = true;
				this.result.fBInfo_ = builderForValue.Build();
				return this;
			}
			public MFriend.Builder MergeFBInfo(FBFriend value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasFBInfo && this.result.fBInfo_ != FBFriend.DefaultInstance)
				{
					this.result.fBInfo_ = FBFriend.CreateBuilder(this.result.fBInfo_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.fBInfo_ = value;
				}
				this.result.hasFBInfo = true;
				return this;
			}
			public MFriend.Builder ClearFBInfo()
			{
				this.PrepareBuilder();
				this.result.hasFBInfo = false;
				this.result.fBInfo_ = null;
				return this;
			}
			public MFriend.Builder SetAlbumFlag(uint value)
			{
				this.PrepareBuilder();
				this.result.hasAlbumFlag = true;
				this.result.albumFlag_ = value;
				return this;
			}
			public MFriend.Builder ClearAlbumFlag()
			{
				this.PrepareBuilder();
				this.result.hasAlbumFlag = false;
				this.result.albumFlag_ = 0u;
				return this;
			}
			public MFriend.Builder SetAlbumStyle(uint value)
			{
				this.PrepareBuilder();
				this.result.hasAlbumStyle = true;
				this.result.albumStyle_ = value;
				return this;
			}
			public MFriend.Builder ClearAlbumStyle()
			{
				this.PrepareBuilder();
				this.result.hasAlbumStyle = false;
				this.result.albumStyle_ = 0u;
				return this;
			}
			public MFriend.Builder SetAlbumBGImgID(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasAlbumBGImgID = true;
				this.result.albumBGImgID_ = value;
				return this;
			}
			public MFriend.Builder ClearAlbumBGImgID()
			{
				this.PrepareBuilder();
				this.result.hasAlbumBGImgID = false;
				this.result.albumBGImgID_ = "";
				return this;
			}
			public MFriend.Builder SetSnsUserInfo(SnsUserInfo value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasSnsUserInfo = true;
				this.result.snsUserInfo_ = value;
				return this;
			}
			public MFriend.Builder SetSnsUserInfo(SnsUserInfo.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasSnsUserInfo = true;
				this.result.snsUserInfo_ = builderForValue.Build();
				return this;
			}
			public MFriend.Builder MergeSnsUserInfo(SnsUserInfo value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasSnsUserInfo && this.result.snsUserInfo_ != SnsUserInfo.DefaultInstance)
				{
					this.result.snsUserInfo_ = SnsUserInfo.CreateBuilder(this.result.snsUserInfo_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.snsUserInfo_ = value;
				}
				this.result.hasSnsUserInfo = true;
				return this;
			}
			public MFriend.Builder ClearSnsUserInfo()
			{
				this.PrepareBuilder();
				this.result.hasSnsUserInfo = false;
				this.result.snsUserInfo_ = null;
				return this;
			}
			public MFriend.Builder SetCountry(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasCountry = true;
				this.result.country_ = value;
				return this;
			}
			public MFriend.Builder ClearCountry()
			{
				this.PrepareBuilder();
				this.result.hasCountry = false;
				this.result.country_ = "";
				return this;
			}
			public MFriend.Builder SetMyBrandList(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasMyBrandList = true;
				this.result.myBrandList_ = value;
				return this;
			}
			public MFriend.Builder ClearMyBrandList()
			{
				this.PrepareBuilder();
				this.result.hasMyBrandList = false;
				this.result.myBrandList_ = "";
				return this;
			}
			public MFriend.Builder SetCustomizedInfo(CustomizedInfo value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasCustomizedInfo = true;
				this.result.customizedInfo_ = value;
				return this;
			}
			public MFriend.Builder SetCustomizedInfo(CustomizedInfo.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasCustomizedInfo = true;
				this.result.customizedInfo_ = builderForValue.Build();
				return this;
			}
			public MFriend.Builder MergeCustomizedInfo(CustomizedInfo value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasCustomizedInfo && this.result.customizedInfo_ != CustomizedInfo.DefaultInstance)
				{
					this.result.customizedInfo_ = CustomizedInfo.CreateBuilder(this.result.customizedInfo_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.customizedInfo_ = value;
				}
				this.result.hasCustomizedInfo = true;
				return this;
			}
			public MFriend.Builder ClearCustomizedInfo()
			{
				this.PrepareBuilder();
				this.result.hasCustomizedInfo = false;
				this.result.customizedInfo_ = null;
				return this;
			}
		}
		public const int UsernameFieldNumber = 1;
		public const int NicknameFieldNumber = 2;
		public const int MobileMD5FieldNumber = 3;
		public const int SexFieldNumber = 4;
		public const int ProvinceFieldNumber = 5;
		public const int CityFieldNumber = 6;
		public const int SignatureFieldNumber = 7;
		public const int PersonalCardFieldNumber = 8;
		public const int AliasFieldNumber = 9;
		public const int FBInfoFieldNumber = 10;
		public const int AlbumFlagFieldNumber = 11;
		public const int AlbumStyleFieldNumber = 12;
		public const int AlbumBGImgIDFieldNumber = 13;
		public const int SnsUserInfoFieldNumber = 14;
		public const int CountryFieldNumber = 15;
		public const int MyBrandListFieldNumber = 16;
		public const int CustomizedInfoFieldNumber = 17;
		private static readonly MFriend defaultInstance;
		private static readonly string[] _mFriendFieldNames;
		private static readonly uint[] _mFriendFieldTags;
		private bool hasUsername;
		private string username_ = "";
		private bool hasNickname;
		private string nickname_ = "";
		private bool hasMobileMD5;
		private string mobileMD5_ = "";
		private bool hasSex;
		private int sex_;
		private bool hasProvince;
		private string province_ = "";
		private bool hasCity;
		private string city_ = "";
		private bool hasSignature;
		private string signature_ = "";
		private bool hasPersonalCard;
		private uint personalCard_;
		private bool hasAlias;
		private string alias_ = "";
		private bool hasFBInfo;
		private FBFriend fBInfo_;
		private bool hasAlbumFlag;
		private uint albumFlag_;
		private bool hasAlbumStyle;
		private uint albumStyle_;
		private bool hasAlbumBGImgID;
		private string albumBGImgID_ = "";
		private bool hasSnsUserInfo;
		private SnsUserInfo snsUserInfo_;
		private bool hasCountry;
		private string country_ = "";
		private bool hasMyBrandList;
		private string myBrandList_ = "";
		private bool hasCustomizedInfo;
		private CustomizedInfo customizedInfo_;
		private int memoizedSerializedSize = -1;
		public static MFriend DefaultInstance
		{
			get
			{
				return MFriend.defaultInstance;
			}
		}
		public override MFriend DefaultInstanceForType
		{
			get
			{
				return MFriend.DefaultInstance;
			}
		}
		protected override MFriend ThisMessage
		{
			get
			{
				return this;
			}
		}
		public string Username
		{
			get
			{
				return this.username_;
			}
		}
		public string Nickname
		{
			get
			{
				return this.nickname_;
			}
		}
		public string MobileMD5
		{
			get
			{
				return this.mobileMD5_;
			}
		}
		public int Sex
		{
			get
			{
				return this.sex_;
			}
		}
		public string Province
		{
			get
			{
				return this.province_;
			}
		}
		public string City
		{
			get
			{
				return this.city_;
			}
		}
		public string Signature
		{
			get
			{
				return this.signature_;
			}
		}
		public uint PersonalCard
		{
			get
			{
				return this.personalCard_;
			}
		}
		public string Alias
		{
			get
			{
				return this.alias_;
			}
		}
		public FBFriend FBInfo
		{
			get
			{
				return this.fBInfo_ ?? FBFriend.DefaultInstance;
			}
		}
		public uint AlbumFlag
		{
			get
			{
				return this.albumFlag_;
			}
		}
		public uint AlbumStyle
		{
			get
			{
				return this.albumStyle_;
			}
		}
		public string AlbumBGImgID
		{
			get
			{
				return this.albumBGImgID_;
			}
		}
		public SnsUserInfo SnsUserInfo
		{
			get
			{
				return this.snsUserInfo_ ?? SnsUserInfo.DefaultInstance;
			}
		}
		public string Country
		{
			get
			{
				return this.country_;
			}
		}
		public string MyBrandList
		{
			get
			{
				return this.myBrandList_;
			}
		}
		public CustomizedInfo CustomizedInfo
		{
			get
			{
				return this.customizedInfo_ ?? CustomizedInfo.DefaultInstance;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return true;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasUsername)
				{
					num += CodedOutputStream.ComputeStringSize(1, this.Username);
				}
				if (this.hasNickname)
				{
					num += CodedOutputStream.ComputeStringSize(2, this.Nickname);
				}
				if (this.hasMobileMD5)
				{
					num += CodedOutputStream.ComputeStringSize(3, this.MobileMD5);
				}
				if (this.hasSex)
				{
					num += CodedOutputStream.ComputeInt32Size(4, this.Sex);
				}
				if (this.hasProvince)
				{
					num += CodedOutputStream.ComputeStringSize(5, this.Province);
				}
				if (this.hasCity)
				{
					num += CodedOutputStream.ComputeStringSize(6, this.City);
				}
				if (this.hasSignature)
				{
					num += CodedOutputStream.ComputeStringSize(7, this.Signature);
				}
				if (this.hasPersonalCard)
				{
					num += CodedOutputStream.ComputeUInt32Size(8, this.PersonalCard);
				}
				if (this.hasAlias)
				{
					num += CodedOutputStream.ComputeStringSize(9, this.Alias);
				}
				if (this.hasFBInfo)
				{
					num += CodedOutputStream.ComputeMessageSize(10, this.FBInfo);
				}
				if (this.hasAlbumFlag)
				{
					num += CodedOutputStream.ComputeUInt32Size(11, this.AlbumFlag);
				}
				if (this.hasAlbumStyle)
				{
					num += CodedOutputStream.ComputeUInt32Size(12, this.AlbumStyle);
				}
				if (this.hasAlbumBGImgID)
				{
					num += CodedOutputStream.ComputeStringSize(13, this.AlbumBGImgID);
				}
				if (this.hasSnsUserInfo)
				{
					num += CodedOutputStream.ComputeMessageSize(14, this.SnsUserInfo);
				}
				if (this.hasCountry)
				{
					num += CodedOutputStream.ComputeStringSize(15, this.Country);
				}
				if (this.hasMyBrandList)
				{
					num += CodedOutputStream.ComputeStringSize(16, this.MyBrandList);
				}
				if (this.hasCustomizedInfo)
				{
					num += CodedOutputStream.ComputeMessageSize(17, this.CustomizedInfo);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private MFriend()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] mFriendFieldNames = MFriend._mFriendFieldNames;
			if (this.hasUsername)
			{
				output.WriteString(1, mFriendFieldNames[16], this.Username);
			}
			if (this.hasNickname)
			{
				output.WriteString(2, mFriendFieldNames[10], this.Nickname);
			}
			if (this.hasMobileMD5)
			{
				output.WriteString(3, mFriendFieldNames[8], this.MobileMD5);
			}
			if (this.hasSex)
			{
				output.WriteInt32(4, mFriendFieldNames[13], this.Sex);
			}
			if (this.hasProvince)
			{
				output.WriteString(5, mFriendFieldNames[12], this.Province);
			}
			if (this.hasCity)
			{
				output.WriteString(6, mFriendFieldNames[4], this.City);
			}
			if (this.hasSignature)
			{
				output.WriteString(7, mFriendFieldNames[14], this.Signature);
			}
			if (this.hasPersonalCard)
			{
				output.WriteUInt32(8, mFriendFieldNames[11], this.PersonalCard);
			}
			if (this.hasAlias)
			{
				output.WriteString(9, mFriendFieldNames[3], this.Alias);
			}
			if (this.hasFBInfo)
			{
				output.WriteMessage(10, mFriendFieldNames[7], this.FBInfo);
			}
			if (this.hasAlbumFlag)
			{
				output.WriteUInt32(11, mFriendFieldNames[1], this.AlbumFlag);
			}
			if (this.hasAlbumStyle)
			{
				output.WriteUInt32(12, mFriendFieldNames[2], this.AlbumStyle);
			}
			if (this.hasAlbumBGImgID)
			{
				output.WriteString(13, mFriendFieldNames[0], this.AlbumBGImgID);
			}
			if (this.hasSnsUserInfo)
			{
				output.WriteMessage(14, mFriendFieldNames[15], this.SnsUserInfo);
			}
			if (this.hasCountry)
			{
				output.WriteString(15, mFriendFieldNames[5], this.Country);
			}
			if (this.hasMyBrandList)
			{
				output.WriteString(16, mFriendFieldNames[9], this.MyBrandList);
			}
			if (this.hasCustomizedInfo)
			{
				output.WriteMessage(17, mFriendFieldNames[6], this.CustomizedInfo);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasUsername)
			{
				num ^= this.username_.GetHashCode();
			}
			if (this.hasNickname)
			{
				num ^= this.nickname_.GetHashCode();
			}
			if (this.hasMobileMD5)
			{
				num ^= this.mobileMD5_.GetHashCode();
			}
			if (this.hasSex)
			{
				num ^= this.sex_.GetHashCode();
			}
			if (this.hasProvince)
			{
				num ^= this.province_.GetHashCode();
			}
			if (this.hasCity)
			{
				num ^= this.city_.GetHashCode();
			}
			if (this.hasSignature)
			{
				num ^= this.signature_.GetHashCode();
			}
			if (this.hasPersonalCard)
			{
				num ^= this.personalCard_.GetHashCode();
			}
			if (this.hasAlias)
			{
				num ^= this.alias_.GetHashCode();
			}
			if (this.hasFBInfo)
			{
				num ^= this.fBInfo_.GetHashCode();
			}
			if (this.hasAlbumFlag)
			{
				num ^= this.albumFlag_.GetHashCode();
			}
			if (this.hasAlbumStyle)
			{
				num ^= this.albumStyle_.GetHashCode();
			}
			if (this.hasAlbumBGImgID)
			{
				num ^= this.albumBGImgID_.GetHashCode();
			}
			if (this.hasSnsUserInfo)
			{
				num ^= this.snsUserInfo_.GetHashCode();
			}
			if (this.hasCountry)
			{
				num ^= this.country_.GetHashCode();
			}
			if (this.hasMyBrandList)
			{
				num ^= this.myBrandList_.GetHashCode();
			}
			if (this.hasCustomizedInfo)
			{
				num ^= this.customizedInfo_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object value)
		{
			MFriend mFriend = value as MFriend;
			return mFriend != null && (this.hasUsername == mFriend.hasUsername && (!this.hasUsername || this.username_.Equals(mFriend.username_))) && (this.hasNickname == mFriend.hasNickname && (!this.hasNickname || this.nickname_.Equals(mFriend.nickname_))) && (this.hasMobileMD5 == mFriend.hasMobileMD5 && (!this.hasMobileMD5 || this.mobileMD5_.Equals(mFriend.mobileMD5_))) && (this.hasSex == mFriend.hasSex && (!this.hasSex || this.sex_.Equals(mFriend.sex_))) && (this.hasProvince == mFriend.hasProvince && (!this.hasProvince || this.province_.Equals(mFriend.province_))) && (this.hasCity == mFriend.hasCity && (!this.hasCity || this.city_.Equals(mFriend.city_))) && (this.hasSignature == mFriend.hasSignature && (!this.hasSignature || this.signature_.Equals(mFriend.signature_))) && (this.hasPersonalCard == mFriend.hasPersonalCard && (!this.hasPersonalCard || this.personalCard_.Equals(mFriend.personalCard_))) && (this.hasAlias == mFriend.hasAlias && (!this.hasAlias || this.alias_.Equals(mFriend.alias_))) && (this.hasFBInfo == mFriend.hasFBInfo && (!this.hasFBInfo || this.fBInfo_.Equals(mFriend.fBInfo_))) && (this.hasAlbumFlag == mFriend.hasAlbumFlag && (!this.hasAlbumFlag || this.albumFlag_.Equals(mFriend.albumFlag_))) && (this.hasAlbumStyle == mFriend.hasAlbumStyle && (!this.hasAlbumStyle || this.albumStyle_.Equals(mFriend.albumStyle_))) && (this.hasAlbumBGImgID == mFriend.hasAlbumBGImgID && (!this.hasAlbumBGImgID || this.albumBGImgID_.Equals(mFriend.albumBGImgID_))) && (this.hasSnsUserInfo == mFriend.hasSnsUserInfo && (!this.hasSnsUserInfo || this.snsUserInfo_.Equals(mFriend.snsUserInfo_))) && (this.hasCountry == mFriend.hasCountry && (!this.hasCountry || this.country_.Equals(mFriend.country_))) && (this.hasMyBrandList == mFriend.hasMyBrandList && (!this.hasMyBrandList || this.myBrandList_.Equals(mFriend.myBrandList_))) && (this.hasCustomizedInfo == mFriend.hasCustomizedInfo && (!this.hasCustomizedInfo || this.customizedInfo_.Equals(mFriend.customizedInfo_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Username", this.hasUsername, this.username_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Nickname", this.hasNickname, this.nickname_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("MobileMD5", this.hasMobileMD5, this.mobileMD5_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Sex", this.hasSex, this.sex_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Province", this.hasProvince, this.province_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("City", this.hasCity, this.city_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Signature", this.hasSignature, this.signature_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("PersonalCard", this.hasPersonalCard, this.personalCard_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Alias", this.hasAlias, this.alias_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("FBInfo", this.hasFBInfo, this.fBInfo_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("AlbumFlag", this.hasAlbumFlag, this.albumFlag_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("AlbumStyle", this.hasAlbumStyle, this.albumStyle_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("AlbumBGImgID", this.hasAlbumBGImgID, this.albumBGImgID_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("SnsUserInfo", this.hasSnsUserInfo, this.snsUserInfo_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("Country", this.hasCountry, this.country_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("MyBrandList", this.hasMyBrandList, this.myBrandList_, writer);
			GeneratedMessageLite<MFriend, MFriend.Builder>.PrintField("CustomizedInfo", this.hasCustomizedInfo, this.customizedInfo_, writer);
		}
		public static MFriend ParseFrom(byte[] data)
		{
			return MFriend.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private MFriend MakeReadOnly()
		{
			return this;
		}
		public static MFriend.Builder CreateBuilder()
		{
			return new MFriend.Builder();
		}
		public override MFriend.Builder ToBuilder()
		{
			return MFriend.CreateBuilder(this);
		}
		public override MFriend.Builder CreateBuilderForType()
		{
			return new MFriend.Builder();
		}
		public static MFriend.Builder CreateBuilder(MFriend prototype)
		{
			return new MFriend.Builder(prototype);
		}
		static MFriend()
		{
			MFriend.defaultInstance = new MFriend().MakeReadOnly();
			MFriend._mFriendFieldNames = new string[]
			{
				"AlbumBGImgID",
				"AlbumFlag",
				"AlbumStyle",
				"Alias",
				"City",
				"Country",
				"CustomizedInfo",
				"FBInfo",
				"MobileMD5",
				"MyBrandList",
				"Nickname",
				"PersonalCard",
				"Province",
				"Sex",
				"Signature",
				"SnsUserInfo",
				"Username"
			};
			MFriend._mFriendFieldTags = new uint[]
			{
				106u,
				88u,
				96u,
				74u,
				50u,
				122u,
				138u,
				82u,
				26u,
				130u,
				18u,
				64u,
				42u,
				32u,
				58u,
				114u,
				10u
			};
			object.ReferenceEquals(micromsg.Proto.MFriend.Descriptor, null);
		}
	}
}
